home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Pnice(2) Oct. 1, 1991 Pnice(2)
-
-
- N✓NA✓AM✓ME✓E
- Pnice - change process priority for the current process
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- WORD Pnice( WORD delta );
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓P_✓n_✓i_✓c_✓e changes the base process niceness for the current
- process by the amount _✓d_✓e_✓l_✓t_✓a. Higher levels of niceness
- correspond to decreased priority in scheduling, so posi-
- tive values for delta cause the corresponding process to
- be scheduled less often. Conversely, negative values for
- delta cause the process priority to be increased.
-
- R✓RE✓ET✓TU✓UR✓RN✓NS✓S
- The (adjusted) process priority, as a 16 bit signed inte-
- ger. 0 is the default priority; values greater than 0 are
- for higher priority processes (ones that are scheduled
- more often), and values less than 0 are lower priority
- processes.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓P_✓r_✓e_✓n_✓i_✓c_✓e(2)
-
- B✓BU✓UG✓GS✓S
- The scheduling algorithm is pretty weird, so it's hard to
- predict exactly what effect process priorities have.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-